<?php
class Header_IndexSearchform extends TdPage {	
	
	public $formlogin;	
	
	function __construct($template) {
		parent::__construct("", $template);
		$this->doInit();		
		
	}
	
	
	function doInit() {		
			
		$this->createform();
		
	}
	
	
	
	
	
	
	function createform() {
	
		global $webroot;
	
	}
	
	
	
	
	
	function doValidate() {
		global $teardrop;  	
	  	
	  	parent::doValidate();
	
	  	if (!$this->formlogin->gotError()) {
	  		
	  		// do something
	      
	  	}	
	
	}
	
	
	
	
	
	
	
}
?>
